
package com.chongchong.flow.wrapper;

import com.chongchong.core.mp.support.BaseEntityWrapper;
import com.chongchong.core.tool.utils.BeanUtil;
import com.chongchong.flow.entity.FlowMessage;
import com.chongchong.flow.vo.FlowMessageVo;

/**
 * 附件表包装类,返回视图层所需的字段
 *
 * @author
 * @since 2021-12-16
 */
public class FlowMessageWrapper extends BaseEntityWrapper<FlowMessage, FlowMessageVo> {

    public static FlowMessageWrapper build() {
        return new FlowMessageWrapper();
    }

	@Override
	public FlowMessageVo entityVO(FlowMessage flowMessage) {
		FlowMessageVo flowMessageVo = BeanUtil.copy(flowMessage, FlowMessageVo.class);

		return flowMessageVo;
	}

}
